export function RouteMenu(routes) {
    let exclusionList = ["/", "/404", "*", "/login"];
    let RouteMenuList = routes;
    let filteredRouteMenu = [];
    for (let i = 0; i < RouteMenuList.length; i++) {
        let item = RouteMenuList[i];
        if (!exclusionList.includes(item.path)) {
            filteredRouteMenu.push(item);
        }
    }
    return filteredRouteMenu;
}
